import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path';
const pathResolve = (dir) => resolve(__dirname, '.', dir);

export default defineConfig({
	base: '/',
	plugins: [vue()],
	// server:{
	//   host:'127.0.0.1',
	//   port:'8081'
	// },
	resolve: {
	alias: [
		{find: '@', replacement: pathResolve('src')},
		{find: '*', replacement: pathResolve('./')}
	],
	},
})
